package DruidTest;

public class DbConfigParam {
	// 数据库驱动名称
	public static String driver = "com.mysql.cj.jdbc.Driver";
	// 数据库连接地址
	public static String jdbcUrl = "jdbc:mysql://10.122.2.17:1211/plancenter?characterEncoding=UTF-8&allowMultiQueries=true";
	public static String user = "plancenter";
	// 数据库密码
	public static String passwd = "Yuantu123";
	// 连接池初始化大小
	public static int initialSize = 5;
	// 连接池最小空闲
	public static int minPoolSize = 10;
	// 连接池最大连接数量
	public static int maxPoolSize = 30;
	// 最小逐出时间，100秒
	public static int maxIdleTime = 60000;
	// 连接失败重试次数
	public static int retryAttempts = 10;
	// 当连接池连接耗尽时获取连接数
	public static int acquireIncrement = 5;

	public static String validationSql = "SELECT 1";

	private DbConfigParam() {
	}
}